package com.repair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.repair.dto.RepairReportDto;
import com.repair.entity.RepairReport;
import com.repair.param.RepairReportAddParam;
import com.repair.param.RepairReportFindParam;
import com.repair.param.RepairReportUpdateParam;
import com.repair.util.PageInfo;

/**
 * <p>
 * 报修项目表 服务类
 * </p>
 *
 * @author 小叶
 * @since 2024年04月03日
 */
public interface RepairReportService extends IService<RepairReport> {

    //添加报修项目
    RepairReport add(RepairReportAddParam toBean, Integer adminId);

    //修改报修项目信息
    RepairReport updateMessage(RepairReportUpdateParam toBean);

    //删除报修项目
    void delete(Integer repairId);

    //根据id查询报修项目
    RepairReport findById(Integer repairId);

    //条件查询报修项目
    PageInfo<RepairReportDto> findByCondition(RepairReportFindParam param);
}
